<template>
    <div class="goods-evaluate">
        <div class="evaluate-dot">
            <div class="dot-item dot-item-active">
                <span>全部(1.2万+)</span>
            </div>
            <div class="dot-item">
                <span>好评(1.2万+)</span>
            </div>
            <div class="dot-item">
                <span>中评(200+)</span>
            </div>
            <div class="dot-item">
                <span>差评(70+)</span>
            </div>
            <div class="dot-item">
                <span>有图(2600+)</span>
            </div>
            <div class="dot-item">
                <span>性价比高(8000+)</span>
            </div>
        </div>
        <div class="evaluate-view">
            <m-evaluate-cell></m-evaluate-cell>
        </div>
    </div>
</template>

<style lang="less" scoped>
    @import '../../static/less/var.less';
    .goods-evaluate{
        .evaluate-dot{
            position: absolute;
            top:0px;
            width:100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            height: 70px;
            padding:10px 10px 5px 10px;
            background: white;
            .dot-item{
                display: flex;
                flex-grow: 0;
                align-items: center;
                height: 25px;
                padding:0px 5px;
                border-radius: 5px;
                background: @background-color;
                span{
                    font-size: 12px;
                    color:@content-color;
                }
                &:not(:last-child){
                    margin-right:10px;
                }
            }
            .dot-item-active{
                background: #de181b;
                span{
                    color:white;
                }
            }
        }
        .evaluate-view{
            position:absolute;
            top:85px;
            width:100%;
            bottom:0px;
            box-sizing: border-box;
            padding:0px 10px;
            background: white;
            overflow-x: hidden;
            overflow-y: auto;
        }
    }
</style>